Micron Document
🌎 rns.kin.earth git 🌍

Node / dev / reticulum / commits / 5081255

Commit 5081255317bedd1128292b5ed373e349e54a85d8


Parents : 13a5381
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Signature : T66BB85Valid, signed by author
Date : 2026-07-18T23:03:35+02:00

Updated logging

Changes

2 files changed, 3 insertions(+), 3 deletions(-)


Diff

diff --git a/RNS/Discovery.py b/RNS/Discovery.py
index 6f66fabf..e6a479df 100644
--- a/RNS/Discovery.py
+++ b/RNS/Discovery.py
@@ -264,7 +264,7 @@ class InterfaceAnnounceHandler:
valid = self.stamper.stamp_valid(stamp, self.required_value, workblock)
if not valid:
- RNS.log(f"Ignored discovered interface with invalid stamp", RNS.LOG_DEBUG)
+ RNS.log(f"Ignored discovered interface with insufficient stamp value {value}", RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None
return
if value < self.required_value: RNS.log(f"Ignored discovered interface with stamp value {value}", RNS.LOG_DEBUG)

diff --git a/RNS/Identity.py b/RNS/Identity.py
index c105d482..5fdebc63 100644
--- a/RNS/Identity.py
+++ b/RNS/Identity.py
@@ -213,7 +213,7 @@ class Identity:
except Exception as e:
RNS.log("Skipped recombining known destinations from disk, since an error occurred: "+str(e), RNS.LOG_WARNING)
- RNS.log("Saving "+str(len(Identity.known_destinations))+" known destinations to storage...", RNS.LOG_VERBOSE)
+ RNS.log("Saving "+str(len(Identity.known_destinations))+" known destinations to storage...", RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None
temp_file = RNS.Reticulum.storagepath+f"/known_destinations.tmp.{time.time()}"
try:
@@ -230,7 +230,7 @@ class Identity:
if save_time < 1: time_str = str(round(save_time*1000,2))+"ms"
else: time_str = str(round(save_time,2))+"s"
- RNS.log("Saved known destinations to storage in "+time_str, RNS.LOG_VERBOSE)
+ RNS.log("Saved known destinations to storage in "+time_str, RNS.LOG_DEBUG) if RNS.sl(RNS.LOG_DEBUG) else None
except Exception as e:
RNS.log("Error while saving known destinations to disk, the contained exception was: "+str(e), RNS.LOG_ERROR)

Served by rngit 1.5.0 - Generated in 0.04s